@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

.video-bg1 {
  z-index: -9999;
  position: fixed;
  top: 0;
  //width: 100%;
  height: 100%;
  animation: flicker 20s ease alternate infinite;
  //padding-bottom: 56.25%; /* 16:9的宽高比 */

  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.video-bg2 {
  z-index: -9999;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}


@keyframes flicker {
  0% {
    left: 0;
    width: 360px;
  }
  25% {
    left: 0;
    width: 100%
  }
  50% {
    left: calc(100% - 360px);
    width: 360px;
  }
  75% {
    left: 0;
    width: 100%
  }
  100% {
    left: 0;
    width: 360px;
  }
}


